import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common'
import { BannerService } from './banner.service'
import { BannerDto } from './dto/banner.dto'
import { BaseController } from '@/base/base.controller'
import { Banner } from '@prisma/client'
import { ApiTags } from '@nestjs/swagger'

@ApiTags('轮播图')
@Controller('banner')
export class BannerController extends BaseController<Banner, BannerDto> {
  constructor(private readonly bannerService: BannerService) {
    super(bannerService)
  }
}
